All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.ComboBox

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Responder
                   |
                   +----com.apple.alpha.app.View
                           |
                           +----com.apple.alpha.app.Control
                                   |
                                   +----com.apple.alpha.app.TextField
                                           |
                                           +----com.apple.alpha.app.ComboBox

public class ComboBox
extends TextField
This class wraps the Objective-C class NSComboBox.


Variable Index

 o ComboBoxSelectionDidChangeNotification
 o ComboBoxSelectionIsChangingNotification
 o ComboBoxWillDismissNotification
 o ComboBoxWillPopUpNotification

Constructor Index

 o ComboBox()
This default constructor is equivalent to Objective-C's [[NSComboBox alloc] init].
 o ComboBox(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o ComboBox(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o ComboBox(Rect)
This constructor has the same effect as calling - initWithFrame: on a newly allocated object.

Method Index

 o addItemsWithObjectValues(Array)
A wrapper for the - addItemsWithObjectValues: Objective-C instance method.
 o addItemWithObjectValue(Object)
A wrapper for the - addItemWithObjectValue: Objective-C instance method.
 o dataSource()
A wrapper for the - dataSource Objective-C instance method.
 o deselectItemAtIndex(int)
A wrapper for the - deselectItemAtIndex: Objective-C instance method.
 o encodeWithCoder(Coder)
A wrapper for the - encodeWithCoder: Objective-C instance method.
 o hasVerticalScroller()
A wrapper for the - hasVerticalScroller Objective-C instance method.
 o indexOfItemWithObjectValue(Object)
A wrapper for the - indexOfItemWithObjectValue: Objective-C instance method.
 o indexOfSelectedItem()
A wrapper for the - indexOfSelectedItem Objective-C instance method.
 o insertItemWithObjectValueAtIndex(Object, int)
A wrapper for the - insertItemWithObjectValue:atIndex: Objective-C instance method.
 o intercellSpacing()
A wrapper for the - intercellSpacing Objective-C instance method.
 o itemHeight()
A wrapper for the - itemHeight Objective-C instance method.
 o itemObjectValueAtIndex(int)
A wrapper for the - itemObjectValueAtIndex: Objective-C instance method.
 o noteNumberOfItemsChanged()
A wrapper for the - noteNumberOfItemsChanged Objective-C instance method.
 o numberOfItems()
A wrapper for the - numberOfItems Objective-C instance method.
 o numberOfVisibleItems()
A wrapper for the - numberOfVisibleItems Objective-C instance method.
 o objectValueOfSelectedItem()
A wrapper for the - objectValueOfSelectedItem Objective-C instance method.
 o objectValues()
A wrapper for the - objectValues Objective-C instance method.
 o reloadData()
A wrapper for the - reloadData Objective-C instance method.
 o removeAllItems()
A wrapper for the - removeAllItems Objective-C instance method.
 o removeItemAtIndex(int)
A wrapper for the - removeItemAtIndex: Objective-C instance method.
 o removeItemWithObjectValue(Object)
A wrapper for the - removeItemWithObjectValue: Objective-C instance method.
 o scrollItemAtIndexToTop(int)
A wrapper for the - scrollItemAtIndexToTop: Objective-C instance method.
 o scrollItemAtIndexToVisible(int)
A wrapper for the - scrollItemAtIndexToVisible: Objective-C instance method.
 o selectItemAtIndex(int)
A wrapper for the - selectItemAtIndex: Objective-C instance method.
 o selectItemWithObjectValue(Object)
A wrapper for the - selectItemWithObjectValue: Objective-C instance method.
 o setDataSource(Object)
A wrapper for the - setDataSource: Objective-C instance method.
 o setHasVerticalScroller(boolean)
A wrapper for the - setHasVerticalScroller: Objective-C instance method.
 o setIntercellSpacing(Size)
A wrapper for the - setIntercellSpacing: Objective-C instance method.
 o setItemHeight(float)
A wrapper for the - setItemHeight: Objective-C instance method.
 o setNumberOfVisibleItems(int)
A wrapper for the - setNumberOfVisibleItems: Objective-C instance method.
 o setUsesDataSource(boolean)
A wrapper for the - setUsesDataSource: Objective-C instance method.
 o usesDataSource()
A wrapper for the - usesDataSource Objective-C instance method.

Variables

 o ComboBoxWillPopUpNotification
 public static final String ComboBoxWillPopUpNotification
 o ComboBoxWillDismissNotification
 public static final String ComboBoxWillDismissNotification
 o ComboBoxSelectionDidChangeNotification
 public static final String ComboBoxSelectionDidChangeNotification
 o ComboBoxSelectionIsChangingNotification
 public static final String ComboBoxSelectionIsChangingNotification

Constructors

 o ComboBox
 protected ComboBox(boolean shouldAllocate,
                    int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o ComboBox
 public ComboBox()
This default constructor is equivalent to Objective-C's [[NSComboBox alloc] init].

 o ComboBox
 public ComboBox(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o ComboBox
 public ComboBox(Rect frameRect)
This constructor has the same effect as calling - initWithFrame: on a newly allocated object.

Methods

 o hasVerticalScroller
 public native boolean hasVerticalScroller()
A wrapper for the - hasVerticalScroller Objective-C instance method.

 o setHasVerticalScroller
 public native void setHasVerticalScroller(boolean flag)
A wrapper for the - setHasVerticalScroller: Objective-C instance method.

 o intercellSpacing
 public native Size intercellSpacing()
A wrapper for the - intercellSpacing Objective-C instance method.

 o setIntercellSpacing
 public native void setIntercellSpacing(Size aSize)
A wrapper for the - setIntercellSpacing: Objective-C instance method.

 o itemHeight
 public native float itemHeight()
A wrapper for the - itemHeight Objective-C instance method.

 o setItemHeight
 public native void setItemHeight(float itemHeight)
A wrapper for the - setItemHeight: Objective-C instance method.

 o numberOfVisibleItems
 public native int numberOfVisibleItems()
A wrapper for the - numberOfVisibleItems Objective-C instance method.

 o setNumberOfVisibleItems
 public native void setNumberOfVisibleItems(int visibleItems)
A wrapper for the - setNumberOfVisibleItems: Objective-C instance method.

 o reloadData
 public native void reloadData()
A wrapper for the - reloadData Objective-C instance method.

 o noteNumberOfItemsChanged
 public native void noteNumberOfItemsChanged()
A wrapper for the - noteNumberOfItemsChanged Objective-C instance method.

 o setUsesDataSource
 public native void setUsesDataSource(boolean flag)
A wrapper for the - setUsesDataSource: Objective-C instance method.

 o usesDataSource
 public native boolean usesDataSource()
A wrapper for the - usesDataSource Objective-C instance method.

 o scrollItemAtIndexToTop
 public native void scrollItemAtIndexToTop(int index)
A wrapper for the - scrollItemAtIndexToTop: Objective-C instance method.

 o scrollItemAtIndexToVisible
 public native void scrollItemAtIndexToVisible(int index)
A wrapper for the - scrollItemAtIndexToVisible: Objective-C instance method.

 o selectItemAtIndex
 public native void selectItemAtIndex(int index)
A wrapper for the - selectItemAtIndex: Objective-C instance method.

 o deselectItemAtIndex
 public native void deselectItemAtIndex(int index)
A wrapper for the - deselectItemAtIndex: Objective-C instance method.

 o indexOfSelectedItem
 public native int indexOfSelectedItem()
A wrapper for the - indexOfSelectedItem Objective-C instance method.

 o numberOfItems
 public native int numberOfItems()
A wrapper for the - numberOfItems Objective-C instance method.

 o encodeWithCoder
 public native void encodeWithCoder(Coder coder)
A wrapper for the - encodeWithCoder: Objective-C instance method.

Overrides:
encodeWithCoder in class Responder
 o dataSource
 public native Object dataSource()
A wrapper for the - dataSource Objective-C instance method.

 o setDataSource
 public native void setDataSource(Object aSource)
A wrapper for the - setDataSource: Objective-C instance method.

 o addItemWithObjectValue
 public native void addItemWithObjectValue(Object object)
A wrapper for the - addItemWithObjectValue: Objective-C instance method.

 o addItemsWithObjectValues
 public native void addItemsWithObjectValues(Array objects)
A wrapper for the - addItemsWithObjectValues: Objective-C instance method.

 o insertItemWithObjectValueAtIndex
 public native void insertItemWithObjectValueAtIndex(Object object,
                                                     int index)
A wrapper for the - insertItemWithObjectValue:atIndex: Objective-C instance method.

 o removeItemWithObjectValue
 public native void removeItemWithObjectValue(Object object)
A wrapper for the - removeItemWithObjectValue: Objective-C instance method.

 o removeItemAtIndex
 public native void removeItemAtIndex(int index)
A wrapper for the - removeItemAtIndex: Objective-C instance method.

 o removeAllItems
 public native void removeAllItems()
A wrapper for the - removeAllItems Objective-C instance method.

 o selectItemWithObjectValue
 public native void selectItemWithObjectValue(Object object)
A wrapper for the - selectItemWithObjectValue: Objective-C instance method.

 o itemObjectValueAtIndex
 public native Object itemObjectValueAtIndex(int index)
A wrapper for the - itemObjectValueAtIndex: Objective-C instance method.

 o objectValueOfSelectedItem
 public native Object objectValueOfSelectedItem()
A wrapper for the - objectValueOfSelectedItem Objective-C instance method.

 o indexOfItemWithObjectValue
 public native int indexOfItemWithObjectValue(Object object)
A wrapper for the - indexOfItemWithObjectValue: Objective-C instance method.

 o objectValues
 public native Array objectValues()
A wrapper for the - objectValues Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index